#/usr/bin/env bash

function usage() {
    echo "set_caffe_python_path.sh <path_to_caffe_quant>"
    exit 1
}

if [ $# -ne 1 ]
then 
    usage
fi

export CAFFE_ROOT="$1"
export PYTHONPATH="${CAFFE_ROOT}/python"
export PYTHONPATH="${PYTHONPATH}:${CAFFE_ROOT}/python/lib"
export PYTHONPATH="${PYTHONPATH}:${CAFFE_ROOT}/python/lib/rpn"

echo "PYTHONPATH=${PYTHONPATH}"

